class SearchController < ApplicationController
  def show
    @names = Name.find_similar_names_to( params[:name] )
    respond_to do |format|
      format.xml  { render :xml => @names.to_xml }
    end
  end
end
